# -*- coding:utf8 -*-
#数据库连接配置文件
#conn_ra= {'host':'10.1.1.217', 'username':'cortana', 'password':'Cu7muE95lFYSZvvXydGqgTCMIUidm3Af', 'db':'campaign', "port":"3306"}
conn_engine= {'host':'10.1.10.23', 'username':'root', 'password':'qyer_www2013_super', 'db':'product', "port":"3306"}
conn_ra= {'host':'10.1.10.23', 'username':'root', 'password':'qyer_www2013_super', 'db':'product', "port":"3306"}
conn_qyer = {'host':'10.1.10.23', 'username':'ra_house', 'password':'3JWOFlrah3VxraBeu', 'db':'qyer', 'port':'3307'}
conn_qyer_b = {'host':'10.1.10.23', 'username':'ra_house', 'password':'3JWOFlrah3VxraBeu', 'db':'qyer', 'port':'3307'}
conn_plan = {'host':'10.1.10.23', 'username':'ra_house', 'password':'3JWOFlrah3VxraBeu', 'db':'qyer_plan', 'port':'3308'}
conn_api = {'host':'10.1.10.23', 'username':'root', 'password':'qyer_www2013_super', 'db':'product'}
conn_main = {'host':'10.1.3.10', 'username':'ra_db', 'password':'ra_db_2013china', 'db':'qyer', 'port':'3306'}
conn_plan_main = {'host':'10.1.10.23', 'username':'ra_db', 'password':'ra_db_2013china', 'db':'qyer_plan'}
conn_planagent = {'host':'127.0.0.1', 'username':'ra_house', 'password':'3JWOFlrah3VxraBeu', 'db':'qyer', 'port':'1234'}
conn_qyer_redis = {'host':'10.1.1.15'}
conn_ra_redis = {"host":"10.1.1.216", "port":4670}
conn_218 = {'host':'10.1.1.218', 'username':'jiaqi', 'password':'qyer_123456', 'db':'interior'}
conn_219 = {'host':'10.1.1.219', 'username':'jiaqi', 'password':'585988Snowie', 'db':'ra'}
conn_booking = {'host':'10.1.1.218', 'username':'jiaqi', 'password':'qyer_123456', 'db':'interior'}
conn_hive = {"host":"10.1.1.142", "username":"jiaqi", "password":"", "db":"qyer"}
conn_mongo = {"host":"10.1.1.216", "username":"", "password":"", "db":"dc"}
db_name = {"mongo_ra":"ra"}

DB_SOURCES = {
    "QyerDBDataSource": {"host":"10.1.10.23", "username":"ra_house", "password":"3JWOFlrah3VxraBeu", "db":"qyer","mincached":45, "maxcached":50, "charset":"utf8", "port":3307},
    "RADBDataSource":{"host":"10.1.10.23", "username":"root", "password":"qyer_www2013_super", "db":"product", "mincached":45, "maxcached":50, "charset":"utf8", "port":3306},
    "PlanDBDataSource": {"host":"10.1.10.23", "username":"ra_house", "password":"3JWOFlrah3VxraBeu", "db":"qyer_plan","mincached":45, "maxcached":50, "charset":"utf8", "port":3308},
}
DB_DAOS = {
    "QyerDao": "QyerDBDataSource",
    "RADao": "RADBDataSource",
    "PlanDao":"PlanDBDataSource",
}
